import { Context } from "koa";

class MyWatchlistController {
    async index(ctx: Context) {
        await new Promise(f => setTimeout(f, 2000));
        
        ctx.response.type = 'application/json'
        ctx.body = `[
            {
                "image": "me_talks.png",
                "title": "Academy Lightning Talks Invitation",
                "participants": "145",
                "description": "We are happy to launch our next Emerging Engineers Academy across borders and locations in APAC. "
            },
            {
                "image": "me_comunity.png",
                "title": "Academy Lightning Talks Invitation2",
                "participants": "146",
                "description": "We are happy to launch our next Emerging Engineers Academy across borders and locations in APAC. "
            },
            {
                "image": "me_winit.png",
                "title": "Academy Lightning Talks Invitation3",
                "participants": "147",
                "description": "We are happy to launch our next Emerging Engineers Academy across borders and locations in APAC. "
            }
        ]`;
    }
}

export default new MyWatchlistController